{% extends "base.html" %}

{% block main %}

{% for article in articles_of_board %}
<span> {{article.id}} -> {{article.title}} 
    <a href="/forum/articles_of_board?boardid={{article.boardid}}">boardArticles</a></span><br>

{% endfor %}

<div class="pagination">
    <span class="step-links">
        {% if articles_of_board.has_previous %}
        <a href="?page={{ articles_of_board.previous_page_number }}">previous</a>
        {% endif %}

        <span class="current">
            Page {{ articles_of_board.number }} of {{ articles_of_board.paginator.num_pages }}.
        </span>

        {% if articles_of_board.has_next %}
        <a href="?page={{ articles_of_board.next_page_number }}">next</a>
        {% endif %}
    </span>
</div>


{% endblock %}
